package com.top.up.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("tb_app_config")
@ApiModel(value = "appConfigEntity", description = "应用配置")
public class AppConfigEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(name = "channelCode", value = "渠道编号")
    @TableField("channelCode")
    private String channelCode;

    @ApiModelProperty(name = "appId", value = "应用 ID")
    @TableField("appId")
    private String appId;

    @ApiModelProperty(name = "appName", value = "应用名称")
    @TableField("appName")
    private String appName;

    @ApiModelProperty(name = "appKey", value = "应用 KEY")
    @TableField("appKey")
    private String appKey;

    @ApiModelProperty(name = "appSecret", value = "应用 Secret Key")
    @TableField("appSecret")
    private String appSecret;

    @ApiModelProperty(name = "descTxt", value = "描述")
    @TableField("descTxt")
    private String descTxt;
}
